<div id="order-pay-dialog" class="order-pay-dialog-c" style="width:580px;">
	<h3><span id="order-pay-dialog-close" class="close" onclick="return X.boxClose();">关闭</span>项目详情</h3>
	<div style="overflow-x:hidden;padding:10px;">
	<table width="96%" align="center" class="coupons-table">
		<tr><td width="80"><b>嘉宾名字：</b></td><td><b><?php echo $guest['name']; ?></b></td></tr>
		<tr><td width="80"><b>项目名称：</b></td><td><b><?php echo $guest['title']; ?></b></td></tr>
		
		<tr><td><b>项目时间：</b></td><td>开始：<b><?php echo date('Y-m-d',$guest['begin_time']); ?></b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;截至：<b><?php echo date('Y-m-d',$guest['end_time']); ?></b></td></tr>

		<tr><td><b>当前状态：</b></td><td><span style="color:#F00;font-weight:bold;"><?php if($guest['status'] == 'Y') echo "牵手成功"; else echo "尚未成功"; ?></span><?php if($guest['close_time']&&$guest['now_number']>=$guest['min_number']&&$guest['delivery']!='express'){?>&nbsp;&nbsp;<span style="color:#F8C;font-weight:bold;"><?php if(($guest['guestcoupon'])){?>&lt;<?php echo $INI['system']['couponname']; ?>未发完&gt;<?php } else { ?>&lt;<?php echo $INI['system']['couponname']; ?>已发放&gt;<?php }?></span><?php }?></td></tr>
		<tr><th colspan="2"><hr/></th></td>
		<tr><td><b>应征人数：</b></td><td><b><?php echo $guest['now_number']; ?></b>
		</td></tr>
		<?php if($guest['needline']){?>
		<tr><th colspan="2"><hr/></th></td>
		<tr><td colspan="2">
			<?php if($guest['noticesubscribe']){?><button style="padding:0;" id="dialog_subscribe_button_id" onclick="if(confirm('发送邮件过程中，请耐心等待，同意吗？')){this.disabled=true;return X.misc.noticenext(<?php echo $guest['id']; ?>,0);}">邮件订阅&nbsp;(<span id="dialog_subscribe_count_id">0</span>/<?php echo $subcount; ?>)</button>&nbsp;<?php }?>
			<?php if($guest['noticesmssubscribe']){?><button style="padding:0;" id="dialog_smssubscribe_button_id" onclick="if(confirm('发送短信过程中，请耐心等待，同意吗？')){this.disabled=true;return X.misc.noticenextsms(<?php echo $guest['id']; ?>,0);}">短信订阅&nbsp;(<span id="dialog_smssubscribe_count_id">0</span>/<?php echo $smssubcount; ?>)</button>&nbsp;<?php }?>
			<?php if($guest['noticesms']){?><button id="dialog_sms_button_id" onclick="if(confirm('发送短信过程中，请耐心等待，同意吗？')){this.disabled=true;return X.misc.noticesms(<?php echo $guest['id']; ?>,0);}">短信发券&nbsp;(<span id="dialog_sms_count_id">0</span>/<?php echo $couponcount; ?>)</button>&nbsp;<?php }?>
			<?php if($guest['guestcoupon']){?><button onclick="this.disabled=true;return X.manage.guestcoupon(<?php echo $guest['id']; ?>);">自动发券&nbsp;(<?php echo $couponcount; ?>/<?php echo $buycount; ?>)</button>&nbsp;<?php }?>
		</td></tr>
	<?php }?>
	</table>
	</div>
</div>
